This class represents indexing or slicing into a matrix.
# S4 method for Expression,missing,missing,ANY
[(x, i, j, ..., drop = TRUE)# S4 method for Expression,numeric,missing,ANY
[(x, i, j, ..., drop = TRUE)
# S4 method for Expression,missing,numeric,ANY
[(x, i, j, ..., drop = TRUE)
# S4 method for Expression,numeric,numeric,ANY
[(x, i, j, ..., drop = TRUE)
Index(expr, key)
# S4 method for Index
to_numeric(object, values)
# S4 method for Index
dim_from_args(object)
# S4 method for Index
is_atom_log_log_convex(object)
# S4 method for Index
is_atom_log_log_concave(object)
# S4 method for Index
get_data(object)
# S4 method for Index
graph_implementation(object, arg_objs, dim, data = NA_real_)
# S4 method for SpecialIndex
to_numeric(object, values)
# S4 method for SpecialIndex
dim_from_args(object)
The row and column indices of the slice.
(Unimplemented) Optional arguments.
(Unimplemented) A logical value indicating whether the result should be coerced to the lowest possible dimension.
A list containing the start index, end index, and step size of the slice.
A list of arguments to the atom.
A list of linear expressions for each argument.
A vector representing the dimensions of the resulting expression.
A list of additional data required by the atom.
to_numeric
: The index/slice into the given value.
dim_from_args
: The dimensions of the atom.
is_atom_log_log_convex
: Is the atom log-log convex?
is_atom_log_log_concave
: Is the atom log-log concave?
get_data
: A list containing key
.
graph_implementation
: The graph implementation of the atom.
to_numeric
: The index/slice into the given value.
dim_from_args
: The dimensions of the atom.